@import '~@alife/aisc-core/purple/scss/index.scss';
/**
 * 页面级样式文件
 */

@import '~@alife/aone-core/variables/index.scss';

.base-setting-main {
  .setting-loading {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .base-form {
    .form-top {
      display: flex;
      justify-content: flex-start;
      // align-items: center;
      margin-bottom: 16px;
      .group-image-wrapper {
        height: 80px;
        margin-right: 24px;
        .group-image-upload {
          .#{$teamix-prefix}upload-list-item {
            margin-right: 0;
          }
          .#{$teamix-prefix}upload-list-item-wrapper {
            border-radius: 4px;
            overflow: hidden;
          }
          .#{$teamix-prefix}upload-list-item-name {
            display: none;
          }
          // FIXME fusion配置
          .#{$teamix-prefix}upload-list-item-wrapper,
          .#{$teamix-prefix}upload-card {
            width: 80px;
            height: 80px;
          }
        }
      }
      .group-name-wrapper {
        margin-right: 20px;
        flex: 2;
        label {
          &:before {
            display: none;
          }
          &:after {
            margin-left: 4px;
            content: '*';
            color: var(--form-error-color, #ed675a);
          }
        }
      }
      .group-id-wrapper {
        width: 250px;
        flex: 1;
      }
    }
  }

  .setting-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    &-left {
      flex: 1;
    }
    &-right {
      width: 100px;
      text-align: right;
    }
  }
  .setting-card {
    margin-bottom: 20px;

    &-item {
      padding: 10px 0;
      // border-bottom: 1px solid $gray-03;
      &:first-child {
        padding-top: 0;
      }
      &:last-child {
        border-bottom: 0;
        padding-bottom: 0;
      }
      &.delete-group {
        margin-bottom: 24px;
      }
    }
    &-subtitle {
      line-height: 20px;
      font-size: 14px;
      // color: $gray-08;
      // font-weight: 500;
      color: var(--form-label-color, #575757);
      &-desc {
        margin-top: 8px;
        line-height: 20px;
        font-size: 14px;
        //   color: $gray-06;
        color: var(--gray-06, #8c8c8c);
        font-weight: normal;
        white-space: normal;
      }
    }
    &-action {
      margin-top: 16px;
    }
  }
  .disabled-tranfer-tip {
    text-align: left;
    line-height: 17px;
    font-size: 12px;
    color: #a6a6a6;
    letter-spacing: 0;
  }
  .pass-content {
    display: inline-block;
    color: #333;
    margin-bottom: 12px;
  }
}

.dangerous-card,
.baseform-card {
  overflow: visible;
  display: flow-root;
  .#{$teamix-prefix}card-content {
    overflow: visible;
  }
}

.encrypto-tooltip-popup .#{$teamix-prefix}balloon-tooltip-content {
  max-width: none;
  & > div {
    display: flex;
    align-items: center;
    font-family: sans-serif;
  }
}
